Magnetocaloric properties of Gd7Pd3 and related intermetallic compounds