Development of a force sensor for atomic force microscopy using piezoelectric thin films