Motorizing a hand-cranked coffee grinder