A preshower photon multiplicity detector for the WA98 experiment