Antiferromagnetism and ferromagnetism in layered1T-CrSe2with V and Ti replacements