Growth processes and relaxation mechanisms in the molecular beam epitaxy of InAs/GaAs heterostructures