Oil prices rise on US, China economic optimism