A shadow-moiré method with continuously variable sensitivity