Modulating Electronic and Optical Properties of Monolayered MoS2 by Covalent Mono- and Bisfunctionalization