Fluid–solid Floquet stability analysis of self-propelled heaving foils