Japan's exports, machine orders pick up as demand recovers