Integrated spectroscopy of the Herschel Reference Survey. The spectral line properties of a volume-limited, K-band-selected sample of nearby galaxies