From Sunday school to writing sex scenes: How this bestselling author gets it so right