Finding Hadamard and (epsilon,delta)-Quasi-Hadamard Matrices with Optimization Techniques