Synthesis and characterization of thermo-responsive and photo-cleavable block copolymers as nanocarriers