Foundations and slopes : an introduction to applications of critical state soil mechanics