The Hawaii K-band galaxy survey. 1: Deep K-band imaging