Generating Vectors for the Lattice Structures of Tubular and Conical Viral Capsids