The structure of jets at hadron colliders