Effect of inserting a non-metal C layer on the spin-orbit torque induced magnetization switching in Pt/Co/Ta structures with perpendicular magnetic anisotropy