Application of Acoustic Emission to the Detection of Bearing Failures