Monogamy and sex change by aggressive dominance in coral reef fish