Preparation of CdCr2S4 and HgCr2S4 thin films by chemical bath deposition