Optimal encoding, trellis structure, and normalized weight of linear block codes.