Electrically and magnetically charged vortices in the Chern–Simons–Higgs theory