Spain: Police shoot dead knife attacker near Barcelona