Imams and emirs : state, religion, and sects in Islam