Comet 103P/Hartley 2 at perihelion: gas and dust activity