Electromechanical poling of piezoelectrics