What are entity integrity and referential integrity?