Nearly 50 injured in train collision in Germany