Caloric and magnetic study of five rare-earth ionic compounds having predominantly magnetic dipole-dipole interaction