The nonperturbative functional renormalization group and its applications