How to decide whether to put money in savings or in your brokerage account