Demographic approaches to community dynamics : A coral reef example