An investigation of hydraulic fracture propagation in multi-layered formation via the phase field method