Some of the most celebrated Shakespeare actors sat for portraits that record their movements and delivered soliloquies.