Fifth-ranked Hamden tops Foran baseball