Hosting Capacity of Distribution Networks for Controlled and Uncontrolled Residential EV Charging with Static and Dynamic Thermal Ratings of Network Components