Optimal Regularity for the Porous Medium Equation