The mystery of how coral reefs thrive in ocean deserts has been solved – sponges are the “unsung heroes” holding the delicate ecosystem together, scientists say.