Single-layer antiferromagnetic semiconductor CoS2 with pentagonal structure