Electrochemical sensors based on porous nanocomposite films with weak polyelectrolyte-stabilized gold nanoparticles