Improvements in the acetyl bromide technique to determine lignin and digestibility and its application to legumes