Solvency and salt addition influence the photoresponsivity and fluorescence in an azobenzene-containing block copolymer