Three people have been taken to hospital following a road crash in Co Antrim.