Spin–orbit torque induced magnetization switching in Pt/Co/Ta structures with perpendicular magnetic anisotropy