variational_block: Create a variational block of layers
Description
This variational block consists in two dense layers which take as input the previous layer
and a sampling layer. More specifically, these layers aim to represent the mean and the
log variance of the learned distribution in a variational autoencoder.