H2S sensing using in situ photo-polymerized polyaniline–silver nanocomposite films on flexible substrates