Reflection and refraction of a three-dimensional Gaussian beam at a nonlinear interface