Electronic and thermoelectric properties of chalcopyrite compounds Cu2(XY)S4 (X = Zn, Cd and Y = Sn, Pb): first-principles study