Optical emission from laser-induced breakdown plasma of solid and liquid samples in the presence of a magnetic field.