Sparse signal recovery and detection utilizing side information