Essays in financial economics and risk management