Optimal prizes in tournaments with risk-averse agents