Opposition candidates and supporters say they were threatened, beaten by government supporters and detained by police.