Semiconductor heterojunctions and nanostructures