Residential care firm CareTech accepts £870.3m takeover offer