How the terror unfolded in and around Barcelona