Quantitative phase imaging with optical differentiation by spatially variable amplitude filters