Yen edges up after Japanese officials vow to defend currency