How AI Repairs Scratches in Old Photos