Algorithm for automatic design of maximum-efficiency Dickson charge pumps