Nuclear electromagnetic bremsstrahlung: A new tool for studying heavy-ion reactions