A method for automatic segmentation and parameter estimation of bird vocalizations