Ferroelectric domain switching using passage of energetic charged particles