Will Smith was asked to leave the Oscars but refused, Academy says