President Obama addresses nation in farewell speech