High energy resolution bolometers for nuclear physics and x-ray spectroscopy