how do muscle work to produce movements