Thousands of demonstrators have held rallies across the US to protest against Donald Trump's climate strategy.