Transport and magnetic properties of Co-doped BaFe2As2 epitaxial thin films grown on MgO substrate