what are the primary and secondary waves