When pregnant homeless woman calls for help, cop steps in and agrees to adopt baby girl