O 1s near-edge x-ray absorption of La2-xSrxNiO4+delta: Holes, polarons, and excitons