On M. G. Krein's works in the theory of representations and harmonic analysis on topological groups