Quantum-walk approach to searching on fractal structures