Comparative studies of the trans-cis photoisomerizations of azobenzene and a bridged azobenzene.