Pseudopotential calculation of the bulk modulus and phonon dispersion of the bcc and hcp structures of titanium