Former Australian Test captain Tim Paine to take leave of absence