Measurement of exciton fraction of microcavity exciton-polaritons using transfer-matrix modeling