Research on Formation Identification Based on Drilling Shock and Vibration Parameters and Energy Principle