A Theoretical Study of the Lowest Electronic States of azobenzene: The role of torsion coordinate in the cis-trans photoisomerization