Weak yen spells strong profits for Japanese companies