Ryan throws 4 TDs, Falcons rally past Eagles 35-31