Halfway homes for mentally-ill prisoners urgent: HC