As the global bestseller One Day reduces a new generation to tears, it’s fair to say that no other author captures the bittersweet highs and lows of falling in love better than David Nicholls. He talks about nostalgia, self-confidence and the rewards of solitude