Black Caps batting coach McMillan to quit after World Cup