Neurostimulation for primary headache disorders