Some have responded with outrage to Donald Trump's announcement that transgender people will not be allowed in the military.