Gear and sprocket assembly