A continuous-time stochastic block model for basketball networks