Sony profitable again, but core electronics still struggling