Direct observation and partial-width measurement of γγ decay of charmonium states