Coroner criticises prison and trust over death of baby born without medical assistance