The Power of Optimization from Samples