See the textbook by Marshall and Plumb (2008), sections 1.3.1 and 1.3.2 on pp 4-6 for some preliminaries. section 4.3.1 on pp 39-41 for the dry lapse rate. sections 4.5.1-4.5.2 pp 48-50 for the moist lapse rate.