Facile synthesis of CuO nanowires and Cu2O nanospheres grown on rGO surface and exploiting its photocatalytic, antibacterial and supercapacitive properties