Pockels effect in yttrium aluminum borate single crystals