UK brewer Marston's has acquired rival Ringwood Brewery Limited for £19.2m.