Stock markets extend gains on Fed hopes, China