Measurements of strain fields due to nanoscale precipitates using the phase image method