Binary Quadratic Quantization: Beyond First-Order Quantization for Real-Valued Matrix Compression