Crystal defects and melting