Investigating Layer Importance in Large Language Models