Japan's exports extend gains, machinery orders fall amid fragile recovery