Subband Structure and Landau Levels in Heterostructures