David Yates nears deal to direct Harry Potter spinoff Fantastic Beasts