who was president when the louisiana territory was purchased from france for 15 million dollars?