Steve Smith's century in Australia's Cricket World Cup warm-up match against England was greeted with jeers by the home crowd at Southampton.