NSW to formally register de facto relationships