MALT-45: a 7 mm survey of the southern Galaxy - I. Techniques and spectral line data