First characterization of the SPADnet sensor: a digital silicon photomultiplier for PET applications