A bootstrap‐based method for optimal design of experiments