Application of hp-Adaptive Finite Element Method to Two-Scale Computation