Giants clinch playoff spot with 9-1 win over Padres