On the structure and composition of Uranus and Neptune