Equilibrium and nonequilibrium fluctuations of nanomechanical oscillator coupled to a tunnel junction