An adaptive gradient greedy algorithm for compressed sensing