Self-force on a static particle near a black hole