Cooling Of Electronics With Phase Change Materials Under Constant Power And Cyclic Heat Loads