Tens of thousands took to the streets in cities across France and Germany over rising living costs.