Structure based optical properties and catalytic activities of hydrothermally prepared CuS nanostructures