Toolbox for switched optimal control via moment relaxations