High-Quality Factor Phase Gradient Metasurfaces with Dynamic Reconfigurability