Three essays in the microeconomics of savings and consumption