Analysis of the primary structure of collagen for the origins of molecular packing