Electromagnetic production of $K\Sigma$ on the nucleon near threshold