Postgresql Substring Between Two Characters