Optical second harmonic imaging: a versatile tool to investigate semiconductor surfaces and interfaces