Were the atomic bombs necessary to defeat Japan during WWII? Why or why not?

Were the atomic bombs necessary to defeat Japan during WWII? Why or why not?