Juventus head coach Maurizio Sarri says mistakes cost his side as they were knocked out of the Champions League by Lyon.