Enviar Registro por Correo electrónico: The adaptive trade-off between detection and discrimination in cortical representations and behavior