From the first outline of an idea to the click of a key that sends the final manuscript to your publisher, the process of writing a book is deeply emotional one, says Dorothy Black