The funeral of Russian opposition politician Alexei Navalny drew crowds in Moscow despite heavy police presence and threats of arrests.