Precision measurements of charmonium states formed in pp¯ annihilation