Interface States in a Linear Model of Heterojunctions