Magnetocaloric effect in the intermetallic compound Gd7Pd3