Quantitative analysis of ferroelectric domain imaging with piezoresponse force microscopy