Preregistration of secondary data analysis: a template and tutorial