Denmark produced a superb display to break their own world record and win the men's Team Pursuit at the Track World Championships.