Moving-Horizon Estimators for Hyperbolic and Parabolic PDEs in 1-D