A theory of evolution of life consciousness