Smartphones can distract diners, prompting restaurants to act