Asian markets rally after US gains, yuan edges up