Mechanics of the myofibril