Five persons suspected of ramming a van into people in Cambrils in Spain have been shot dead, police said hours after 13 people were killed in a similar incident in Barcelona.