Cost effective green synthesis of NiO nanostructures as highly efficient photocatalysts for degradation of organic dyes