Amid criticism, Amazon appoints director of social responsibility