Maine cities agree on call-center merger