Afghan female police officer shoots dead US military adviser