Polymer based microstructures as systems for controlled synthesis of nanoparticles, sensing, depot for chemicals and remote controlled delivery systems for drug and biological cells