What grit sandpaper did you use?
If you scratched them really bad, then you'll have to start over on them. Begin with a 400 grit or so. Then 800, 1000, 2000. Optionally, you can continue by using red rubbing compound after the 2000 grit, then finally follow that up with white polishing compound. You'll want to spend a good 15 minutes or so on each grit. It will be a fair amount of work, but it should be fixable.
As for the light being cloudy on thi INSIDE, best I can figure is some water got inside while you were sanding, then heated up and condensed on the inside of the lens. Take the lights out, rinse the inside a couple of times with water, then leave them outside in the heat, with the bulb opening facing UP. That should allow the water to evaporate leaving you with a clear, moisture-free lens.