Elastic constants in defected and amorphous silicon by tight-binding molecular dynamics