The lanthanides and actinides are located in which block of the periodic table?