Worm gear and spur gear mechanism