Sherlock's creator + writer on the mystique of screenwriting, researching period pieces and making comedy work with drama.