what are the three types of mechanical waves?