Japan's Nissan sees profit for latest quarter but warns of Middle East and China woes