Exchange Policy Optimization Algorithm for Semi-Infinite Safe Reinforcement Learning