Micromechanical sensors for the measurement of biopolymer degradation