First principles methods for structural trends in oxides: applications to crystalline silica