Regret Analysis of the Posterior Sampling-based Learning Algorithm for Episodic POMDPs