Hundreds of people have been arrested in the US capital during a protest against the president's policy of separating migrant families.