A cyclic block coordinate descent method with generalized gradient projections