Strongly anisotropic magnetocaloric effect in a dipolar magnet LiGdF4