what is the definition of a kiln