A Russian court convicted imprisoned opposition leader Alexei Navalny on extremism charges and sentenced him to 19 years in prison.