Efficient Multi-Agent Trajectory Planning with Feasibility Guarantee using Relative Bernstein Polynomial