Film director Spike Lee and actress Jada Pinkett Smith have said they will not attend next months Oscars ceremony because of the mostly white nominees.