Barcelona lose again at Sociedad, record for Ronaldo