A molecular line survey of Sagittarius B2 and Orion-KL from 70 to 115 GHz. I - The observational data