Japan surrenders, delivering an end to WWII