p-adic uniformizations of Shimura curves of genus up to 3