Optimal Regularity for One-Dimensional Porous Medium Flow