City passes ordinance restricting phone use while driving