A blow-up formula for stationary harmonic maps