Gears with a non-circular rolling curve or gears with special teeth