Internal intermittency and finite Reynolds number effect for turbulent mixing of passive and active scalars