A Practical Mixed Precision Algorithm for Post-Training Quantization