On the optimal mix between lead-acid battery and thermal storage tank for PV and heat pump systems in high performance buildings