Transcorrelated method for electronic systems coupled with variational Monte Carlo calculation