Operational sex ratio influences female preference and male–male competition in guppies