Investigation of the R2Se3–Cu2Se–In2Se3 (R = La, Pr, Y and Er) systems at 870 K and crystal structure of the R2CuInSe5 (R = La, Ce and Pr) compounds