Reentrant structural phase transitions induced by external magnetic fields in TmxLu1-xPO4 and TbxY1-xVO4 crystals.