The death of a six-year-old schoolgirl in West Lothian is being treated as murder, police have confirmed.