Write a Python program to convert a list of tuples into a dictionary.