Superconductivity in cubic and tetragonal phases of (La1−yMy)3S4 with M = Vacancy, Sc, Y, Ce, Lu, Th