If the ratio of the volume of cube A to the volume of cube B is 1 to 8, what is the ratio of the surface area of cube A to the surface area of cube B?