Apple buys PrimeSense for about $350 million