Ab initio calculation of adhesion and potential corrugation of diamond (001) interfaces