what are three types of waves that can transfer energy without going through a medium