Man who drove into Berlin school group ‘had mental illness’