Hot Galactic Halos and Lyman Limit Systems of Quasars