Influence of the interphase on block copolymer thermodynamics: Extension of the leary model