Neutron starquake models for gamma-ray bursts