Planck 2013 results. VII. HFI time response and beams