Broadband atomic-layer MoS2 optical modulators for ultrafast pulse generations in the visible range