Ab initio and post-ab initio quantum chemical study of the heme spin states in electron transfer reactions