Marsh happy to captain Australia for as long as needed