Somerville’s theater and Arlington’s Capitol block are for sale; leases and programming are likely to remain in place.