A universal method of CT image hardening correction based on the wavelet transform and the correction by polychromatic system parameters