Logarithmic extensions of minimal models: characters and modular transformations.