Six Afghan police, two Taliban killed in pre-election attack