Measurements and analysis of the upper critical field Hc2 of underdoped and overdoped La2?xSrxCuO4 series of compounds