Electronic state, magnetism, and electrical transport behavior of Sr3-xAxFe2O7 (x ≤ 0.4, A = Ba, La)