A coarse-grained model of the myofibril: Overall dynamics and the evolution of sarcomere non-uniformities