David Warner, Steve Smith keep Australia in hunt against Bangladesh