Accurate multimode vibrational calculations using a B-spline basis: Theory, tests and application to dioxirane and diazirinone