Evaluating Cognitive and Behavioral Outcomes in Conjunction with the Secure Base Effect for Dogs in Shelter and Foster Environments