Durable-goods warranties and social welfare