Clue, an app that tracks women's menstrual cycles and predicts when they may be in pain, has raised $20 million.