Multiscale kinetic Monte Carlo algorithm for simulating epitaxial growth