What is the significance of selecting appropriate data structures and algorithms in software development?