Coevolution between positive reciprocity, punishment, and partner switching in repeated interactions