Phase transitions in electron‐hole plasmas