Protesters have clashed with police as the former British colony marks the 22nd anniversary of its handover to China.