The origin of philosophical psychology: from Vives to Brentano