Electronic structure and reactivity of TM-doped La1-xSrxCoO3 (TM=Ni,Fe) catalysts