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