Maine group plans to replace two hospitals, expand another