In legal first, Japan convicts man of abusing AI to generate ransomware