The truncated Wigner method for Bose-condensed gases: limits of validity and applications