Chitosan-assisted buffer layer incorporated with hydroxypropyl methylcellulose-coated silver nanowires for paper-based sensors