Generation of optical potentials for ultracold atoms using a superluminescent diode