Confusion and sporadic violence mars Nigeria's election