what is principles of ecology