When did Valencia surrender to the French?