An adaptive polynomial chaos expansion for high-dimensional reliability analysis