The German palliative care doctor has been sentenced to life imprisonment for killing 15 of his patients.