How do electromagnetic waves differ from mechanical waves?