WavePacket: A Matlab Package for Numerical Quantum Dynamics. II: Open Quantum Systems, Optimal Control, and Model Reduction