Towards a heat transfer based distance sensor for measuring sub-micrometer separations