Dealing with intra-individual variability in the analysis of activity patterns from accelerometer data