Analytic solution for a static black hole in the RSII model