Charlotte Edwards hit an unbeaten 106 as England beat New Zealand to third place at the Women's World Cup.