How do mechanical engineers ensure the reliability and performance of bearings used in rotating machinery?