Major capsid reinforcement by a minor protein in herpesviruses and phage