British Airways pilots accept pay cuts, job losses negotiated by union