Segmental flexibility and head-head interaction in scallop myosin