Device for applying internal pressure to cylindrical specimens