West Ham end Liverpool’s unbeaten run as Villa sack Smith