Hofstadter's butterfly and the fractal quantum Hall effect in moiré superlattices