An atomic-scale view of semiconductor heterostructures using scanning tunneling microscopy