Nesting stage and distance to refuge influence terrestrial nesting behavior in an aquatic turtle