Two people taken to hospital after two separate traffic accidents