Locke's theory of knowledge and its historical relations