Ulster finish top of PRO12