Growth and dissolution rates of YPO4 and DyPO4 crystals in high-temperature solution