Faraday rotation in the undergraduate advanced laboratory