Formulate an answer to this elaborate question: The Bear is the second of the two operas by William Walton, the libretto was based on which play of the same title, by Anton Chekhov?
The Bear: A Joke in One Act