Coordinated ‘noise’ between brain neurons helps animals predict outcomes to make optimal decisions