Breaking the Loop: The Science of Building Good Habits and Beating Bad Ones