Speed and Density Planning for a Speed-Constrained Robot Swarm Through a Virtual Tube