Protesters have defied warnings from police as hundreds rally across the country against the US attack on Venezuela.