The royal palace G of Early Syrian Ebla. Structure and functions