Aldridge retires from NBA after heart scare