NOS-NOC: A Software Package for Numerical Optimal Control of Nonsmooth Systems