How are magneto-optic crystals used in optical isolators and modulators?