Electromagnetic radiation from hot and dense hadronic matter