David Tennant announces exit from Doctor Who