Magneto-optics in the integer and fractional quantum hall and electron solid regimes