Hybrid protoneutron stars with the MIT bag model