The head of Russia's Oscar committee has resigned after the Russian Film Academy unveiled that it was boycotting next year's Academy Awards.