Napoleon wrote his family's succession into the constitution in an attempt to prevent the restoration of what former ruling family?