At least 13 people have been killed and more than 100 injured after a van ploughed into pedestrians in a terror attack in a busy tourist area of Barcelona.