Facebook and Twitter are in breach of laws requiring personal data to be kept on Russian soil, say the authorities.