Properties of immobile hydrogen confined in microporous carbon