Surface arrangement dependent selectivity of porphyrins gas sensors