Phase transformation in the system Sr2Ln1−xCexMCu2O8+δ (Ln = rare earth, M = Nb, Ta) and superconductivity