Gaia Data Release 1. On-orbit performance of the Gaia CCDs at L2