Unveiling the roles of interspecific competition and local adaptation in phenotypic differentiation of parapatric frogs