J/psi production and suppression at SPS energies