A generalized inverse planning tool for volumetric-modulated arc therapy