Angular momentum of spatiotemporal optical vortices in dispersive media