Japan's JAPEX to buy US oil and gas fields in $1.3bn deal