A recursive dimension-reduction method for high-dimensional reliability analysis with rare failure event