Opposition groups boycott election after weeks of protests that killed four people in the capital Lome and other cities.