Collisional alignment and stereodynamics in gas phase and at surface