The Formation Conditions of Chondrules and Chondrites