what are principles of ecology