Examine the theoretical foundations and significance of the Poynting vector in energy transfer within electromagnetic fields. How does the Poynting theorem describe the conservation of energy in electromagnetic systems, and what are the implications for power flow in different configurations of electric and magnetic fields?