Efficient quantum algorithms for some instances of the non-Abelian hidden subgroup problem