Japan appoints new foreign minister amid cabinet reshuffle