Automated classification of tailed bacteriophages according to their neck organization