David Ortiz thanks fans after his retirement from baseball