Direct ultrashort-pulse intensity and phase retrieval by frequency-resolved optical gating and a computational neural network.