Change-point detection in functional time series: applications to age-specific mortality and fertility