Dependence of positive and negative sprite morphology on lightning characteristics and upper atmospheric ambient conditions