Discuss the importance of fluid dynamics in mechanical engineering, particularly in the design of turbines and pumps. How do principles such as Bernoulli's equation, Reynolds number, and laminar versus turbulent flow impact the efficiency and performance of these systems?