Cognitive Abilities in Fish: Biological Predictors and Impact on Reproductive Success