who is the president before martin van buren?