An Efficient Quantum Algorithm for the Hidden Subgroup Problem in Extraspecial Groups