Charm-loop effect in $B \to K^{(*)} \ell^{+} \ell^{-}$ and $B\to K^*\gamma$