Edge effects connected with thin interphases in composite materials