Japanese investors turn to foreign bonds after yen intervention