New book traces ‘grand collaboration’ between Jefferson and Madison to ensure separation of church and state