Uranus and Neptune could be full of rocks, new study suggests