A cube 4 inches on each side is painted red and cut into 64 1-inch cubes. How many 1-inch cubes are painted red on two faces only?