Outgoing Nigerian president sacks police chief