Electrodynamics of Materials: Forces, Stresses, and Energies in Solids and Fluids