Bean and barley salad with sweetcorn