Two in three condemned by healthcare watchdog on safety grounds following national inspections programme