A functional data analytic approach for region level differential DNA methylation detection