A signature of cosmic-ray increase in AD 774-775 from tree rings in Japan