Laser cooling of two trapped ions : sideband cooling beyond the Lamb-Dicke limit