A genetic algorithm based determination of the ground and excited (1Lb) state structure and the orientation of the transition dipole moment of benzimidazole.