Spatial density neural network force fields with first-principles level accuracy and application to thermal transport