Extractant Assisted Synthesis of Polymer Stabilized Platinum and Palladium Metal Nanoparticles for Sensor Applications