A scheme for variable optofluidic attenuator: Design and simulation