Theory of financial risks :from statistical physics to risk management