How to make BYOD work for your company