Optical elements for atoms : a beamsplitter and a mirror