Police have launched an investigation after a large scale cannabis farm was discovered during a fire in the Bradford district.