Coherent photoisomerization and quantum yield of biomimetic molecular switches