The Academy apologizes for offensive aspects of Oscars