Preparation and Properties of Epoxy/Multiwalled Carbon Nanotube Nanocomposite Foams with an Alternating Layer Structure