Collisionally aligned molecular beams: a tool for stereodynamical studies in the gas phase and at surfaces