Apple confirms iPhone, Mac affected by Meltdown-Spectre vulnerabilities