Axially symmetrical molecules in electric and magnetic fields: energy spectrum and selection rules