Bears swim teams compete at Hamilton Invitational