Five other people were injured when two cars and a van crashed in north Devon.