I have stupidly disconnected the cord, which had a polarized plug, from the lamp and so am confused about how to hardwire it to the electrical box which has 12-2 wire. the dimmer has 2 black wires and the lamp, of course, has the one black and one white. What connects to where?