Statistical Learning Theory for Location Fingerprinting in Wireless LANs