Tens of thousands of protesters have marched through Hong Kong to voice their opposition to government-sponsored legislation that would allow people to be extradited to mainland China to face charges.