D and f block chemistry