Implement lossy compression via quantization

Lossy compression via quantization was introduced in CF-1.12 (section 8.4). We need to implement this in cf.

This will be almost entirely handled in, and inherited from, cfdm - so see NCAS-CMS/cfdm#330 for details and discussion.