A sparse collocation method for solving time-dependent HJB equations using multivariate B-splines