Carrier transfer induced photoluminescence change in metal-semiconductor core-shell nanostructures