Identifying the Patterns of Defects in Timber Using Ultrasonic Test Based on Wavelet Neural Networks