Bitter campaigning period ends in Catalonia with crucial vote still in the balance