Contribution of reflection high-energy electron diffraction to nanometre tailoring of surfaces and interfaces by molecular beam epitaxy