Magnetocaloric effect and inhomogeneity of CdCr2Se4 and HgCr2Se4 single crystals