Effect of shape on phase transition temperature of clusters