The LongiMam model for improved breast cancer risk prediction using longitudinal mammograms