BAFTA is to introduce separate prizes for comedy and drama writers at its annual craft awards, following pressure from the Writers' Guild of Great Britain.