More than 3,600 children in Germany were assaulted by Catholic priests over 70 years, a study finds.