A boundary-integral equation method for free surface viscous flows