Prayer cannot be made compulsory in councils, court ruling says