Band bending in semiconductors: chemical and physical consequences at surfaces and interfaces.