Term spectrum of magnetoexcitons in quasi-two-dimensional systems.