Analytical foundations of the theory of quasiconformal mappings in R^n