Investigating structural, electronic, magnetic, and optical properties of Co-doped and Co-X (X = Fe, Mn) co-doped MoS2 for optoelectronic applications