Time Inc. exceeds earnings expectations on strong digital ad growth