Conditional cooperation and betrayal aversion