Comparative investigation of infralow frequency internal friction in KDP and GMO crystals near their curie points