Optimizing the electromechanical response in morphotropic BiFeO3