Principles of Photon Colliders