Emma Mackey on unlocking the mystery of Emily Brontë