Plans to turn ‘haunted’ Derbyshire nightclub into apartments thrown out