Three lawyers accused of helping late Russian opposition leader Alexei Navalny to run illegal activity from prison have been jailed.