Japan posts 1st trade surplus in almost 2 years