As California energy markets modernize, regulators worry about repeating the past