Ab initio linear response calculations of lattice dynamics using an LAPW basis