when was the declaration of independence written?