BASH script to convert YY-MM-DD, YY-MM-DD_HHMMSS format dates into a UNIX timestamp