Cu i resonance lines in turn-off stars of NGC 6752 and NGC 6397 Effects of granulation from CO5BOLD models