Who accepted the Japanese surrender