Analysis of structural order in amyloid fibrils