Novel Co and Ni metal nanostructures as efficient photocatalysts for photodegradation of organic dyes