Correlation in the transition metal based Heusler compounds Co2MnSi and Co2FeSi