The Health Secretary has said failing hospitals will be named and shamed in league tables and NHS managers sacked if they cannot improve.