The influence of conformation and energy gaps on optical transition moments in donor acceptor biphenyls