Environmentally Friendly Renormalization Group and Phase Transitions