Flexible peptide linkers display higher resistance to proteolysis than rigid linkers by facilitating movements that inhibit the approach of proteases