Cambridge University trains robot to ‘taste’ as it cooks eggs