A Comparative DFT Study of Bandgap Engineering and Tuning of Structural, Electronic, and Optical Properties of 2D WS_2, PtS_2, and MoS_2 between WSe_2, PtSe_2, and MoSe_2 Materials for Photocatalytic and Solar Cell Applications