Police have arrested more than 6,000 people during the protests that followed Sunday's disputed presidential election.