Potassium assembled on the InAs(110) surface: from nanowires to two-dimensional layers