Detectability of extrasolar moons as gravitational microlenses