Context-dependent hierarchies in pigeons