Basis and frames of complex exponentials and related problems