how long does it take to recover from a hamstring injury