Optimization of high precision stereotactic body radiotherapy with photons and ions for non-small-cell-lung cancer