A novel approach for the automatic estimation of the ciliated cell beating frequency