Companies seeking top talent should offer workers flexibility