Planck 2015 results. IV. Low Frequency Instrument beams and window functions