One-dimensional focusing of an atomic beam by a flat reflector