The role of refuges in coral reef ecosystems and biological invasions