Seventeen Afghan police officers were drugged by fellow officers and killed in their sleep in a Taliban attack.