compare and contrast cognitive and social learning theory