A man who was hospitalised following a serious assault in Co Londonderry is in a critical condition, the PSNI has said.