A neutron spectrometer based on temperature variations in superheated drop compositions