Thermal expansion anomalies at magnetic transitions in intermetallic compounds DyAg and HoAg