Monitoring precipitation on mountain streams to optimize the hydroelectric power production