England beat India A by three wickets in warm-up match