Quasi-free reaction as a tool for nuclear astrophysics