Valence fluctuations in La2−xSrxCuO4