Biocompatible polymers as a tool for the synthesis of silver nanoparticles: size tuning and in vitro cytotoxicity studies