Swapping dairy products for plant-based alternatives such as oat milk and coconut yoghurt could lead to serious nutrient deficiencies, a study has found.