Optomechanical properties of optically self-arranged colloidal waveguides