Saints clinch playoff birth, defeat Titans 22-17