Linear electromagnetic wave equations in materials