A Segmental Polynomial Model of Ventricular Electrograms as a Simple and Efficient Morphology Discriminator for Implantable Devices