Asian shares rise on optimism about US, China economies