Elastic waves at periodically-structured surfaces and interfaces of solids