Local polynomial estimation of the mean function and its derivatives based on functional data and regular designs