Protoplanetary disk masses from CO isotopologue line emission