What are the primary differences between acoustic and electric guitars, and how do these differences affect the sound they produce?