Numerical calculation of separated flow past square and rectangular cylinders using panel technique