Electromagnetic properties of polycrystalline diamond from 35 K to room temperature and microwave to terahertz frequencies