writes xyz coordinates to pdb using openmm pdb writer