An elderly man was taken to hospital after a two-car collision on the A27.