Ab initio calculations of interface effects in tunnelling through MgO barriers on Fe(100)