First-time parents are to get "NHS minders" to help them through the first two years under a new pilot scheme.