Mathematical considerations of competitive polymerase chain reaction