EPR of Gd ions in Jahn-Teller-distorted rare-earth crystals TbAsO4, TmAsO4, and TmVO4