Social context influences aggressive and courtship behavior in a cichlid fish