Photochemical cis-trans isomerization of s-trans-1,3-pentadiene. A theoretical study