Theory of Financial Risks: From Statistical Physics to Risk Management