South African president says he has no constitutional duty to provide electricity