US citizens traveling to Hong Kong are being warned that refusal to hand over passwords or access to their personal devices is now a criminal offense.