Miners as intermediaries: extractable value and market manipulation in crypto and DeFi