US president is trying to block the publication of his former security adviser’s explosive book