Complete integrability of relativistic Calogero-Moser systems and elliptic function identities