Magnetic and electrical properties of BaVS3 and BaVxTi1−xS3