fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations