Avenatti sentenced to 2 1/2 years in prison for extortion