Moments of event shapes in electron-positron annihilation at next-to-next-to-leading order