Pharmacological inactivation of the prion protein by targeting a folding intermediate