Free-Energy Relations and Contraction of Actomyosin