Three-dimensional nonperturbative analysis of spontaneous emission in a Fabry-Perot microcavity