The importance of structural complexity in coral reef ecosystems