Manufacturing multilayered piezo-electric or electrostrictive devices or parts thereof