Clayton Richard pitches Padres to 2-1 win over A's