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