The influence of synthesis conditions on the film morphology of chitosan-stabilized silver nanoparticles