A sparse estimator for the function-on-function linear regression model