A gunman in the university town of Heidelberg shoots four people, one fatally, before killing himself.