Quantum coherent dynamics of molecules: A simple scenario for ultrafast photoisomerization