Variation of the electronic structure in systematically synthesized Sr2MO4 (M = Ti, V, Cr, Mn, and Co).