The Beatles will publish a book to coincide with upcoming documentary