Essays in Robust Optimization with Applications to Finance and Renewable Energy