Costs of Custom Power Devices Versus the Financial Losses of Voltage Sags and Short Interruptions: A Techno-economic Analysis