Conditions for Star Formation in Nearby AGN and QSO Hosts