Dynamic properties of AFM cantilevers and the calibration of their spring constants