Coffee grinding and packing machine