Diamagnetic excitons and exciton magnetopolaritons in semiconductors