Alternating direction method of multipliers with variable step sizes