Photoisomerization ability of molecular switches adsorbed on Au(111): Comparison between azobenzene and stilbene derivatives