Ryssland har tillfälligt förbjudit exporten av diesel och bensin för att stabilisera det inhemska utbudet.