Insurance mathematics and stochastic finance