Structure-function relationship for Kunitz and Kazal type trypsin inhibitors