Yen hits six-week high, dollar dips for month-end