which john wrote the book of revelation