Hong Kong police have fired pepper spray at protesters angry about an extradition bill that would allow people to be sent to mainland China for trial.