Nanomaterials for pregnancy detection