On matrix-exponential distributions in risk theory