'Da Vinci Code' author settles lawsuit alleging secret life