Jason Martin thought he was talking to the mother of a child online but it was an undercover police officer