Safe Planning in Dynamic Environments Using Conformal Prediction