Essays on insurance and taxation