Dynamical mean-field theory using Wannier functions: A flexible route to electronic structure calculations of strongly correlated materials