Statics and dynamics of ferroelectric domains studied with scanning force microscopy