Dollar rises after Japan steps into market