GM declares bankruptcy, moves into public ownership