Microscopic nature of localized states in a-Si:H and their role in metastability