Effective mass theory for abrupt heterojunctions