Why is it important to consider the components of the social ecology framework in community and public health?