In situ monitoring of the layer height in laser powder bed fusion