Energy and momentum in electromagnetic waves