Five-micrometer measurements of Uranus and Neptune