Spectral and timing studies of 2S 1417−624 during a giant outburst