Role of double doping with C and RE2O3 oxides on the critical temperature and critical current of MgB2 phase