Dual-Model Weight Selection and Self-Knowledge Distillation for Medical Image Classification