Rydberg states in electric and magnetic fields: near-zero-energy resonances