Triangular canonical form for bilinear systems