Thousands attend anti-austerity marches in Madrid