Flexible room-temperature resistive humidity sensor based on silver nanoparticles