Heavy quarkonia in a potential model: binding energy, decay width, and survival probability