The same frequency of planets inside and outside open clusters of stars