direct and alternating current