Silica-assisted catalytic growth of oxide and nitride nanowires