Molecules in uniform electric and magnetic fields