Assembly of colloidal cuprous oxide nanocrystals and study of its magnetic and electrocatalytic properties