Electronic structure of compounds with Fe-C bonds