Optimal control of scalar conservation laws by on/off-switching. (4th July 2017)