Spectral and timing properties of the accreting X-ray millisecond pulsar IGR J17511-3057