Direction of the transition dipole moment of nitrobenzene determined from oriented molecules in a uniform electric field