Optical absorption and Faraday rotation in yttrium iron garnet