Amplification of light and random laser action in partially ordered dye-doped nematics