Maria Theresia, Kaiserin Joseph 11., Kaiser