In-situ scanning probe microscopy for the measurement of thickness changes in an electroactive polymer