Two-dimensional materials-decorated microfiber devices for pulse generation and shaping in fiber lasers