Trans-to-cis isomerization of stilbene following an ultrafast laser pulse