pH-control of the protein resistance of thin hydrogel gradient films.