An apparatus for studying interactions between Rydberg atoms and metal surfaces