How to use barriers and pre-commitment to do the right things with your money