Nigerian president sacks ministers