Ab initio molecular dynamics of retinals