Police in Barcelona separated nationalist demonstrators from anti-fascist marchers the day after an attack killed more than a dozen people.