Exchange-correlation corrections for electronic properties of half-metallic Co2FeSi and nonmagnetic semiconductor CoFeTiAl