The man who bombed Borussia Dortmund's team bus has been sentenced to 14 years in prison.