Retiming sequential circuits for low power