Structural characterization of biological fibrils from x-ray scanning microdiffraction measurements