DIN-rail mount switching power supplies with global approvals for both industrial and hazardous locations