Anthropic-principle arguments against steady-state cosmological theories