On Quantifying and Understanding the Role of Ethics in AI Research: A Historical Account of Flagship Conferences and Journals