Deviation inequalities for an estimator of the conditional value-at-risk