Sparsity-based super-resolution and phase-retrieval in waveguide arrays.