Effect of Heat and Electricity Storage and Reliability on Microgrid Viability:A Study of Commercial Buildings in California and New York States