The commercial pilot reported that shortly after picking up a bucket of water from a pond he gained airspeed and initiated a climbing left turn back towards the fire. As the helicopter started to climb, he heard a drop in RPM and the helicopter lost power. He attempted to continue the climb; however, the helicopter was too heavy. He released the water and landed the helicopter on a mountain side; subsequently, the helicopter rolled onto its right side.